{if $buyshow==1 && !empty($goods['buycontent'])}
<div class="fui-cell-group" style="margin-top: {$diyitem['style']['margintop']}px; margin-bottom: {$diyitem['style']['marginbottom']}px; background: {$diyitem['style']['background']};">
    <div class="fui-cell">
        <div class="content-block">{$goods['buycontent']}</div>
    </div>
</div>
{/if}